﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AirtightnessTek.aspx.cs" Inherits="search_AirtightnessTek" %>--%>

<%@ Page Title="气密测试数据查询" Language="C#" MasterPageFile="~/site.master"  AutoEventWireup="true" CodeFile="AirtightnessTek.aspx.cs" Inherits="search_AirtightnessTek" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContent" Runat="Server">
    <style type="text/css">
          .mr
       {
           margin-right:549px   /*右边距*/
       } 
            .breadcrumbcss
       {
           width:1054px;
           margin:20px auto;
       }
            .mt
        {
                margin-top:50px;
            }
            .foodermargin
    {     
    margin:40px auto 0 auto;
     }
        #formdiv1 {
            height: 30px;
        }
        #UpdatePanel1 {
            width: 113px;
        }
    </style>
    <link href="../CSS/bootstrap.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.min.css" rel="stylesheet" />
    <link href="../CSS/allcommonstyle.css" rel="stylesheet" />
      <script src="../js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
    <script src="../js/my97datepicker/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="breadcrumbcss">
      <ol class="breadcrumb ">           
            <li><a href="../MainHtml.aspx">首页</a></li>
            <li><a href="searchMainHtml.aspx">查询</a></li>	
		     <li><a href="AirtightnessTek.aspx" class="active">气密测试数据查询</a></li>
        </ol>
    </div>
         <h4 class="headtitle">气密测试数据查询</h4>
    <div class="radio" style="margin:10px 0px 10px 370px;">  <asp:RadioButton ID="RadioButton2" runat="server" Text="请选择整机KccSN：" AutoPostBack="True" Checked="True" GroupName="select" OnCheckedChanged="RadioButton2_CheckedChanged" /></div>   
       
     <div id="formdiv1"  class="form-horizontal">              
                <div class="form-group mb"  style=" margin-left:360px;width: 350px;">             
                 <label  class="col-sm-2 control-label" style="width:127px">请输入整机KccSN:</label>                
                   <asp:TextBox ID="TextBox1" runat="server" Width="138px"></asp:TextBox> 
             
           </div>    
      </div> 
     <div class="radio" style="margin:10px 0px 10px 370px;" >  <asp:RadioButton ID="RadioButton1" runat="server" Text="请选择时间："  AutoPostBack="True"  GroupName="select" OnCheckedChanged="RadioButton1_CheckedChanged"  /></div>  
     <div id="formdiv2"  class="form-horizontal">     
        <div style="margin:10px 0px 10px 360px;width:884px; height: 33px;">  
         
                 <div class="form-group" style="float:left;margin-left:10px; width: 319px;">                      
                起始时间：<input type="text"  class="inputWidth" runat="server" id="Text1"
                    onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
               
                       </div>
              &nbsp;
            <div class="form-group"style="float:left;margin-right:20px; width: 485px;">
                终止时间：<input type="text"   class="inputWidth" runat="server" id="TextBox2" 
                    onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator> 
                   &nbsp;   <asp:Button ID="Button1" runat="server" Text="查 询" OnClick="Button1_Click" Width="77px" Font-Bold="True" height="30px" CssClass="bluebuttoncss" /> 
           &nbsp;<asp:Button ID="Button2" runat="server" Text="返回" Font-Bold="True" OnClick="Button2_Click"  height="30px" CssClass="bluebuttoncss" Width="77px" />

               </div>
                              
           </div>
          </div>                         
      <div style="text-align:center;margin:10px auto 10px auto;width:578px;">
           <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True" HorizontalAlign="Center" Visible="False" Width="566px" AllowPaging="True" OnRowDataBound="GridView1_RowDataBound" AllowSorting="True"  >
               <Columns>
                   <asp:BoundField DataField="KccSN" HeaderText="整机序列号">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
                   <asp:BoundField DataField="RecordTime" HeaderText="录入时间" >
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
                   <asp:BoundField DataField="ProductType" HeaderText="产品类型">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
                   <asp:BoundField DataField="UserId" HeaderText="测试员工号">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
                   <asp:BoundField DataField="TestValue" HeaderText="测试值">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
                   <asp:BoundField DataField="TestResult" HeaderText="是否合格">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   </asp:BoundField>
               </Columns>
           </asp:GridView>
             
       </div>

   <div style="margin:33px auto auto auto; clear: both;width:1100px; height: 50px;text-align:center" > 
          <asp:LinkButton ID="lnkbtnFrist" runat="server" OnClick="lnkbtnFrist_Click">首页</asp:LinkButton> 
        <asp:LinkButton ID="lnkbtnPre" runat="server" OnClick="lnkbtnPre_Click">上一页</asp:LinkButton> 
        <asp:Label ID="lblCurrentPage" runat="server"></asp:Label> 
        <asp:LinkButton ID="lnkbtnNext" runat="server" OnClick="lnkbtnNext_Click">下一页</asp:LinkButton> 
        <asp:LinkButton ID="lnkbtnLast" runat="server" OnClick="lnkbtnLast_Click">尾页</asp:LinkButton> 
跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="55px"> 
        </asp:DropDownList>页
        </div>
     <div id="fooder" class="foodercl foodermargin" >
      
       Copyright © 2015-2016 摩比天线（深圳）技术有限公司版权所有

     </div>  
   </asp:Content>
